recordFormat
Type
property
Summary
Specifies the format for sound files recorded with the record sound command.
Syntax
set the recordFormat to <format>
Description
Use the recordFormat property to specify the codec used to encode the recorded audio and optionally the container/kind of file the audio is stored in.
The recordFormat property determines what codec is used and the kind of file that is created when you use the record sound command to record sound.
The value of a format can either be a codec or a codec/container pair delimited by dash '-'. The recordFormats function returns a list of supported recordFormat values. If the container is not specified then it will default to the first in the list of supported recordFormat values.
Examples
set the recordFormat to "pcm"
set the recordFormat to "pcm-wav"
Related
property: filename, recordCompression
command: record sound, play
function: recordFormats
glossary: function, property, compress, audio clip, file path, command, codec
keyword: player
Compatibility and Support
Introduced
LiveCode 2.0
OS
mac
windows
ios
android
web
Platforms
desktop
mobile